package com.ruoyi.system.service;

import com.ruoyi.system.domain.BScoreRule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.vo.BScoreRuleVo;

import java.util.List;

/**
* @author yangxingze
* @description 针对表【b_score_rule(评分标准表)】的数据库操作Service
* @createDate 2024-12-28 00:45:04
*/
public interface BScoreRuleService extends IService<BScoreRule> {

    /**
     * 根据项目id删除评分标准
     * @param projectId
     */
    void deleteScoreRuleByProjectId(Long projectId);

    /**
     * 保存评分标准
     * @param scoreRuleList
     * @param projectId
     */
    void saveScoreRule(List<BScoreRuleVo> scoreRuleList, Long projectId);
}
